<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>更新书籍</title>
</head>
<body>
{#todo 试试不同的url写法#}
{#<form action="/bookai/addbook/">#}
<form action="/bookai/changebookinfo/">

    <input type="text" name="bookid" hidden value={{ book.id }} >
    <br> 书名: <input type="text" name="name" placeholder="记得写书名" value={{ book.name }}>
    <br>
    价格: <input type="text" name="price" placeholder="价格" value={{ book.price }}>
    <br>
    ISBN编号: <input type="text" name="isbn_no" placeholder="ISBN" value={{ book.isbn_no }}>
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>